#include "InterOpMatrix.h"
#include "common/constant.h"

AMCAX_EXCHANGE_NAMESPACE_BEGIN

namespace InterOp
{
    InterOpMatrix::InterOpMatrix(double orientation[3][3], double origin[3])
    {
        for (int i = 0; i < 3; ++i)
        {
            for (int j = 0; j < 3; ++j)
            {
                orientation_[i][j] = orientation[i][j];
            }
            origin_[i] = origin[i];
        }
    }

    std::array<std::array<double, 3>, 3> InterOpMatrix::GetOrientation() const
    {
        return orientation_;
    }

    std::array<double, 3> InterOpMatrix::GetOrigin() const
    {
        return origin_;
    }
}

AMCAX_EXCHANGE_NAMESPACE_END